FWrite

Syntax: @FWrite filenum, variable [, variable]

The FWrite command writes the listed variables data to the file currently opened in write or append mode. The list of variables is not written with any separators between the variables. If required, a comma or other suitable separator can be included in the variables list.

You must use first use @FOpen to open the file and then use @FClose to close it after your write operations have been completed.

Example

@FWrite FileNum, 'example text', LogAtt, Num[1,20]

to write a literal string, an attribute and an array element.

@FWrite FileNum, LogAtt, ',', Num[1,20],',', MoreData

to write some variables separated by comma delimiters.